.class Lcom/netease/newsreader/activity/MyCommentsActivity$1;
.super Ljava/lang/Object;
.source "MyCommentsActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/MyCommentsActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/MyCommentsActivity;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/MyCommentsActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/MyCommentsActivity$1;->this$0:Lcom/netease/newsreader/activity/MyCommentsActivity;

    .line 217
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter "view"

    .prologue
    .line 220
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v2

    sparse-switch v2, :sswitch_data_0

    .line 243
    :cond_0
    :goto_0
    iget-object v2, p0, Lcom/netease/newsreader/activity/MyCommentsActivity$1;->this$0:Lcom/netease/newsreader/activity/MyCommentsActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/MyCommentsActivity;->access$1(Lcom/netease/newsreader/activity/MyCommentsActivity;)Lcom/netease/newsreader/view/MenuPopup;

    move-result-object v2

    invoke-virtual {v2}, Lcom/netease/newsreader/view/MenuPopup;->dismiss()V

    .line 244
    return-void

    .line 222
    :sswitch_0
    iget-object v2, p0, Lcom/netease/newsreader/activity/MyCommentsActivity$1;->this$0:Lcom/netease/newsreader/activity/MyCommentsActivity;

    invoke-virtual {v2}, Lcom/netease/newsreader/activity/MyCommentsActivity;->getCurrentActivity()Landroid/app/Activity;

    move-result-object v0

    .line 223
    .local v0, activity:Landroid/app/Activity;
    instance-of v2, v0, Lcom/netease/newsreader/activity/MyReplyActivity;

    if-eqz v2, :cond_1

    .line 224
    check-cast v0, Lcom/netease/newsreader/activity/MyReplyActivity;

    .end local v0           #activity:Landroid/app/Activity;
    invoke-virtual {v0}, Lcom/netease/newsreader/activity/MyReplyActivity;->startLoading()V

    goto :goto_0

    .line 225
    .restart local v0       #activity:Landroid/app/Activity;
    :cond_1
    instance-of v2, v0, Lcom/netease/newsreader/activity/ReplyMeActivity;

    if-eqz v2, :cond_0

    .line 226
    check-cast v0, Lcom/netease/newsreader/activity/ReplyMeActivity;

    .end local v0           #activity:Landroid/app/Activity;
    invoke-virtual {v0}, Lcom/netease/newsreader/activity/ReplyMeActivity;->startLoading()V

    goto :goto_0

    .line 231
    :sswitch_1
    iget-object v2, p0, Lcom/netease/newsreader/activity/MyCommentsActivity$1;->this$0:Lcom/netease/newsreader/activity/MyCommentsActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/MyCommentsActivity;->access$0(Lcom/netease/newsreader/activity/MyCommentsActivity;)V

    goto :goto_0

    .line 235
    :sswitch_2
    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/netease/newsreader/activity/MyCommentsActivity$1;->this$0:Lcom/netease/newsreader/activity/MyCommentsActivity;

    const-class v3, Lcom/netease/newsreader/activity/SettingsActivity;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 236
    .local v1, intent:Landroid/content/Intent;
    iget-object v2, p0, Lcom/netease/newsreader/activity/MyCommentsActivity$1;->this$0:Lcom/netease/newsreader/activity/MyCommentsActivity;

    invoke-virtual {v2, v1}, Lcom/netease/newsreader/activity/MyCommentsActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 220
    :sswitch_data_0
    .sparse-switch
        0x7f0c00d2 -> :sswitch_0
        0x7f0c00d5 -> :sswitch_2
        0x7f0c0101 -> :sswitch_1
    .end sparse-switch
.end method
